#ifndef DPISCREEN_H
#define DPISCREEN_H

#include <QObject>

class DPIScreen : public QObject
{
    Q_OBJECT
public:
    explicit DPIScreen(QObject *parent = 0);

    inline int widthScreen() const {
        return m_widthScreen;
    }

    inline int heigthScreen() const {
        return m_heigthScreen;
    }

    inline QString dpi() const {
        return m_dpi;
    }


private:
    void getSizeScreen();
    void getDPI();

    int m_widthScreen;
    int m_heigthScreen;

    QString m_dpi;

};

#endif // DPISCREEN_H
